package com.coderman.common.starter.nacos.datajson.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * Description:
 * date: 2020/9/30 9:09 上午
 *
 * @author fanchunshuai
 * @version 1.0.0
 * @since JDK 1.8
 */
@Configuration
@ConfigurationProperties(prefix = "nacos.datajson")
public class NacosDataJsonProperties {
    /**
     * 指定扫描类路径减少扫描时间
     */
    @Value("{entitypath}")
    private String entitypath;

    /**
     * 是否需要进行回调兼容之前的配置
     */
    @Value("{usecallback}")
    private String usecallback;

    public String getEntitypath() {
        return entitypath;
    }

    public void setEntitypath(String entitypath) {
        this.entitypath = entitypath;
    }

    public String getUsecallback() {
        return usecallback;
    }

    public void setUsecallback(String usecallback) {
        this.usecallback = usecallback;
    }
}
